
logger = org.jboss.logging.Logger.getLogger("deng.bsh.examples.runnableService");

void start() {
	logger.info("Starting ...");
}

void stop() {
	logger.info("Stopping ...");
}


// Exposing a managed interface to JMX
String objectName() {
   return "deng.bsh.examples:service=runnableService";
}
Class[] getInterfaces() {
   return new Class[] { Runnable.class };
}

void run() {
	logger.info("Running...");
}

